package org.water.common.log;

import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.core.Logger;
import org.apache.logging.log4j.core.LoggerContext;
import org.apache.logging.log4j.message.MessageFactory;
/**
 * 系统操作记录日志，记录到文件中
 * @author qzy
 *
 */
public class SysLogger extends Logger {
    
	private static final Level SYS_OPRATE = Level.getLevel("sysoprate");
	
	protected SysLogger(LoggerContext context, String name, MessageFactory messageFactory) {
		super(context, name, messageFactory);
	}
    
	public void log(String msg) {
		super.log(SYS_OPRATE, msg);
	}
}
